/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ez2find.manager;

import com.ez2find.model.Area;
import com.ez2find.model.RegisterUser;
import com.ez2find.model.Resume;
import com.ez2find.model.Site;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author Owner
 */
@Local
public interface ResumeManagerLocal {

    void create(Resume resume) throws Exception;

    void delete(Resume resume) throws Exception;

    Resume find(long id);

    long lastCode();

    List<Resume> listAll();

    List<Resume> listResumesArea(Area area, String consult);

    List<Resume> listResumesSite(Site site, String consult);

    void update(Resume resume) throws Exception;

    Resume merge(Resume resume) throws Exception;
    
}
